package com.kuaiditu.assistant.ui.login;

import android.widget.Button;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.kuaiditu.assistant.R;
import com.kuaiditu.assistant.base.BaseActivity;
import com.kuaiditu.assistant.ui.RegisterActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

@Route(path = LoginHintActivity.PATH)
public class LoginHintActivity extends BaseActivity {

    public static final String PATH = "/user/login_hint";
    @BindView(R.id.btn_login)
    Button btnLogin;
    @BindView(R.id.btn_reg)
    Button btnReg;


    @Override
    public int initContentView() {
        return R.layout.activity_login_hint;
    }

    @Override
    public void initInjector() {

    }

    @Override
    public void initUiAndListener() {
        ButterKnife.bind(this);
    }


    @Override
    protected boolean setStatusBar() {
        return true;
    }


    @Override
    protected boolean setTranslucent() {
        return false;
    }


    @OnClick(R.id.btn_login)
    public void onBtnLoginClicked() {
        ARouter.getInstance().build(LoginActivity.PATH).navigation();
        finish();
    }

    @OnClick(R.id.btn_reg)
    public void onBtnRegClicked() {
        ARouter.getInstance().build(RegisterActivity.PATH).navigation();
        finish();
    }
}
